<?php
namespace app\index\controller;
use think\Controller;
use think\Session;
use think\Db;
use app\index\controller\Base;
class Classfly extends Base{
	//产品分类页
    public function index(){
    $cz=db('cate')->where('id',3)->select();
    $this->assign('cz',$cz);
		$hf=db('cate')->where('id',10)->select();
		$this->assign('hf',$hf);
		$zq=db('cate')->where('id',12)->select();
    $this->assign('zq',$zq);
    $czid=input('czid');
    $dx=db('article')->where('cateid',$czid)->order('id desc')->select();
    // $page=$dx->render();
    // $this ->assign('page',$page);	
    $this->assign('dx',$dx);
		return $this->fetch('classfly');
    }
	
}